x86: add change missing in c/s 23726:fd97ca086df6
authorJan Beulich <jbeulich@novell.com>
Thu, 21 Jul 2011 13:34:51 +0000 (14:34 +0100)
committerJan Beulich <jbeulich@novell.com>
Thu, 21 Jul 2011 13:34:51 +0000 (14:34 +0100)
The early "do we need to do anything" check needs adjustment, too.
Thanks to Haitao Shan for pointing this out.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/cpu/intel.c

index 76b3a3444440cc54cb5cea5a22beb305f74b92a0..47f8b595e283909ef81339030e3a47bb1bc62995 100644 (file)
@@ -61,7 +61,8 @@ static void __devinit set_cpuidmask(const struct cpuinfo_x86 *c)
        const char *extra = "";
 
        if (!~(opt_cpuid_mask_ecx & opt_cpuid_mask_edx &
-              opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx))
+              opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx &
+               opt_cpuid_mask_xsave_eax))
                return;
 
        /* Only family 6 supports this feature  */